package mj.scott.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import mj.scott.pojo.entity.Employee;
import org.apache.ibatis.annotations.Param;

/**
 * <p>
 * 员工信息 Mapper 接口
 * </p>
 * @author Scott
 * @since 2025-08-15
 */
public interface EmployeeMapper extends BaseMapper<Employee> {
    /**
     * 根据用户名查询用户
     * @param username 用户名
     * @return 用户信息
     */
    Employee selectByUsername(@Param("username") String username);
}
